package com.mycookbook;

public class Recipe {
	
		    //private variables
	    int _id;
	    String _name;
	    String _category;
	    String _approach;
	    String _ingredients;
	    String _imagepath;
	 
	    // Empty constructor
	    public Recipe(){
	 
	    }
	    // constructor
	    public Recipe(int id, String name, String category, String approach, String ingredients, String imagepath){
	        this._id = id;
	        this._name = name;
	        this._category = category;
	        this._approach = approach;
	        this._ingredients = ingredients;
	        this._imagepath = imagepath;
	        
	    }
	 
	    // constructor
	    public Recipe(String name, String category, String approach, String ingredients, String imagepath){
	        this._name = name;
	        this._category = category;
	        this._approach = approach;
	        this._ingredients = ingredients;
	        this._imagepath = imagepath;
	    }
	    // getting ID
	    public int getID(){
	        return this._id;
	    }
	 
	    // setting id
	    public void setID(int id){
	        this._id = id;
	    }
	 
	    // getting name
	    public String getName(){
	        return this._name;
	    }
	 
	    // setting name
	    public void setName(String name){
	        this._name = name;
	    }
	    
	    public String getCategory(){
	        return this._category;
	    }
	 
	    // setting name
	    public void setCategory(String category){
	        this._category = category;
	    }
	    
	    public String getApproach(){
	        return this._approach;
	    }
	 
	    // setting name
	    public void setApproch(String approach){
	        this._approach = approach ;
	    }
	    
	    public String getIngredients(){
	        return this._ingredients;
	    }
	 
	    // setting name
	    public void setIngredients(String ingredients){
	        this._ingredients = ingredients;
	    }
	    
	    public String getImagePath(){
	        return this._imagepath;
	    }
	 
	    // setting name
	    public void setImagePath(String imagepath){
	        this._imagepath = imagepath;
	    }
	 
	   	 
	}


